jtr: Fix MSVC errors and warnings.
authoroliskoli <oliskoli>
Sat, 18 Oct 2008 22:23:35 +0000 (22:23 +0000)
committeroliskoli <oliskoli>
Sat, 18 Oct 2008 22:23:35 +0000 (22:23 +0000)
jtr.c

diff --git a/jtr.c b/jtr.c
index f8cac03e3093c4a42c783f015bbb60e04beecd42..2fe5425b3d8d4aa68450c18afadbf3666460f602 100644 (file)
--- a/jtr.c
+++ b/jtr.c
@@ -161,7 +161,7 @@ jtr_read(void)
 
                /* check for duplicates as suggested in format description */
 
-               snprintf(buf, sizeof(buf), "%.6f\01\%.6f\01\%ld", lat, lon, (long)time);
+               snprintf(buf, sizeof(buf), "%.6f\01%.6f\01%ld", lat, lon, (long)time);
                if (avltree_find(trkpts, buf, NULL)) continue;
 
                wpt = waypt_new();